﻿.case_cate li {
    display: inline-block;
    font-size: 15px;
    margin: 0 30px 0 0;
    position: relative;
    cursor: pointer;
    line-height: 42px;
    padding: 0 4px;
}

.case_cate {
    border-bottom: 1px solid #dfdfdf;
    color: #7c7c7c;
}

.case_list {
    margin-top: 20px;
}

.case_list li {
    display: inline-block;
    width: 380px;
    height: 220px;
    padding: 5px;
    margin: 0 24px 24px 0;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 5px #E3E4E5;
    -moz-box-shadow: 0 0 5px #E3E4E5;
    box-shadow: 0 0 5px #E3E4E5;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.case_list li img {
    width: 100%;
    height: 100%;
}

.case_list li:nth-child(3n) {
    margin-right: 0;
}

.case_name {
    display: none;
    position: absolute;
    top: 5px;
    height: 210px;
    width: 370px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
}

.case_name p {
    margin: 10px 20px;
    margin-top: 25%;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 1px;
}

.case_list li:hover .case_name {
    display: block;
}
